/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import controller.ClientImpl;
import controller.ClientInt;
import java.util.HashMap;
import java.util.Map;
import java.util.Vector;

/**
 *
 * @author mona
 */
public class Conference {
    Vector<ClientInt> clients = new Vector<>();
    
    public Conference(ClientInt[] _clients){
        for (ClientInt client : _clients) {
            clients.add(client);
        }
    }
    
    public void addClient(ClientInt client){
        clients.add(client);
    }
    
    public void removeClient(ClientInt client){
        clients.remove(client);
    }   
    
    public ClientInt getClientAt(int index){
        return clients.get(index);
    } 
    
    public int getSize(){
        return clients.size();
    }
    
}
